package cn.qiyu5522.tk_ems.utils;

import java.util.UUID;

/**
 * @BelongsProject: tk_ems
 * @BelongsPackage: cn.qiyu5522.tk_ems.utils
 * @Author: TangQi
 * @CreateTime: 2023-02-06  09:37
 * @Description: TODO
 * @Version: 1.0
 */

public class TraceIdUtils {
    /**
     * 生成traceId
     *
     * @return TraceId 基于UUID
     */
    public static String getTraceId() {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
